CC4/CC5/CCM/RtB files: GameGadg.gdg, ScrnGadg.gdg
file format description by Mafi

contents of these *.gdg files: small graphical gadgets for the user
interface of the game.

Byte order: Little Endian (Intel style)

// header, 12 bytes
char(4)	GADG	// 4 bytes ASCII headerID = "GADG"
long	0001h	// 4 bytes of unknown purpose, always 0001h (color depth info?)
long		// number of entries

// directory #1, containing entries of the following format:
// (the entries are sorted alphabetically by entry name)
// directory entry, 44 bytes
char(32)		// 32 bytes ASCIIZ, name of entry, zero terminated, fixed size padded with zeros
long		// unknown purpose
long		// number of sub-entries
long		// offset of data (to the first byte of the entry's directory #2), counted from top of file

// entry's data package is of the following format: directory, graphics datas
// directory #2
for every sub-entry:
	long	// graphic's width
	long	// graphic's height
	long	// graphic's data size in bytes
	long	// offset to graphic data, counted from top of file

// the graphical datas will follow immediately
data (16-bit encoded RGB-graphics)


